package KK.Hunter.MapEdit.Events
{
	import KK.GameBase.MSGEvent;
	
	public class LatticeEvent extends MSGEvent
	{
		static public const CLEAN:String=String(0xF00A03);
		static public const CREATE:String=String(0xF00A4);
		static public const LATTICE_MOVE:String=String(0xF00A5);
		
		protected var _x:Number;
		protected var _y:Number;
		protected var _pixels:int;
		
		public function LatticeEvent(type:String,x:Number=1,y:Number=1,pixels:int=1)
		{
			//TODO: implement function
			super(type);
			this._x=x;
			this._y=y;
			this._pixels=pixels;
		}
		
		public function get x():Number{
			return this._x;
		}
		public function get y():Number{
			return this._y;
		}
		public function get pixels():int{
			return this._pixels;
		}
	}
}